org.jhotdraw.draw.action
Class SelectionComponentRepainter
java.lang.Object
org.jhotdraw.draw.FigureAdapter
org.jhotdraw.draw.action.SelectionComponentRepainter
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener, FigureListener, FigureSelectionListener
public class SelectionComponentRepainter
- extends FigureAdapter
- implements java.beans.PropertyChangeListener, FigureSelectionListener
Calls repaint on components, which show attributes of the drawing editor
and of its views based on the current selection.
- Author:
- Werner Randelshofer
@version 1.0 23.05.2008 Created.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
editor
private DrawingEditor editor
component
private javax.swing.JComponent component
SelectionComponentRepainter
public SelectionComponentRepainter(DrawingEditor editor,
javax.swing.JComponent component)
attributeChanged
public void attributeChanged(FigureEvent evt)
- Description copied from interface:
FigureListener
- Sent when an attribute of the figure has changed.
- Specified by:
attributeChanged in interface FigureListener- Overrides:
attributeChanged in class FigureAdapter
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange in interface java.beans.PropertyChangeListener
selectionChanged
public void selectionChanged(FigureSelectionEvent evt)
- Specified by:
selectionChanged in interface FigureSelectionListener
dispose
public void dispose()